#include <string>
//log.h
#ifndef _LOG_H
#define _LOG_H

const unsigned int logBufferSZ = 1024 ; //log buffer size
const std::string defaultLogFile = "/var/log/whq.log" ;

class Log
{
private:
	std::string logFile ;

public:
	Log ( ) : logFile(defaultLogFile)
	{
	}

	Log ( std::string & inLogFile ) : logFile (inLogFile)
	{
	}

	int writeLog ( char * prompt = NULL, char * format = NULL, ... ) ;
} ;

#endif
